package jespeak.rules;

public class MatchedRule {

	private Rule rule;
	private int score;
	private int charsMatched;

	public MatchedRule() {
		this(null, -1, 0);
	}

	public MatchedRule(Rule rule, int score, int charsMatched) {
		this.rule = rule;
		this.score = score;
		this.charsMatched = charsMatched;
	}

	public Rule getRule() {
		return rule;
	}

	public int getScore() {
		return score;
	}

	public int getMatchedChars() {
		return charsMatched;
	}

}
